package com.qsd.TeacherSystem.compnent;

import com.qsd.common.util.SmToken;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class AllConfig {

    @Bean
    @ConfigurationProperties(prefix = "sm")
    public SmToken smToken(){
        return new SmToken();
    }
}
